import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'

let pinia = createPinia() //createPinia方法可以用于创建大仓库
pinia.use(piniaPluginPersistedstate)
export default pinia //对外暴露,安装仓库
